<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="js/vue.js"></script>
<body>
    <div id="app">
        <label for="male">
            <input type="radio" id="male" value="男" v-model="sex">男
        </label>
        <label for="female">
            <input type="radio" id="female" valsue="女" v-model="sex">女
        </label>    
        
        <p>性别：{{sex}}</p>
    </div>
    

    <script>
        var vm = new Vue({
            el:"#app",
            data:{
                sex:"女"//设置默认值
            }
        })
    </script>
</body>
</html>